package model;


public enum Node {
	XN_SKEL_HEAD("XN_SKEL_HEAD"), XN_SKEL_NECK("XN_SKEL_NECK"), XN_SKEL_TORSO(
			"XN_SKEL_TORSO"), XN_SKEL_WAIST("XN_SKEL_WAIST"), XN_SKEL_LEFT_COLLAR(
			"XN_SKEL_LEFT_COLLAR"), XN_SKEL_LEFT_SHOULDER(
			"XN_SKEL_LEFT_SHOULDER"), XN_SKEL_LEFT_ELBOW("XN_SKEL_LEFT_ELBOW"), XN_SKEL_LEFT_WRIST(
			"XN_SKEL_LEFT_WRIST"), XN_SKEL_LEFT_HAND("XN_SKEL_LEFT_HAND"), XN_SKEL_LEFT_FINGERTIP(
			"XN_SKEL_LEFT_FINGERTIP"), XN_SKEL_RIGHT_COLLAR(
			"XN_SKEL_RIGHT_COLLAR"), XN_SKEL_RIGHT_SHOULDER(
			"XN_SKEL_RIGHT_SHOULDER"), XN_SKEL_RIGHT_ELBOW(
			"XN_SKEL_RIGHT_ELBOW"), XN_SKEL_RIGHT_WRIST("XN_SKEL_RIGHT_WRIST"), XN_SKEL_RIGHT_HAND(
			"XN_SKEL_RIGHT_HAND"), XN_SKEL_RIGHT_FINGERTIP(
			"XN_SKEL_RIGHT_FINGERTIP"), XN_SKEL_LEFT_HIP("XN_SKEL_LEFT_HIP"), XN_SKEL_LEFT_KNEE(
			"XN_SKEL_LEFT_KNEE"), XN_SKEL_LEFT_ANKLE("XN_SKEL_LEFT_ANKLE"), XN_SKEL_LEFT_FOOT(
			"XN_SKEL_LEFT_FOOT"), XN_SKEL_RIGHT_HIP("XN_SKEL_RIGHT_HIP"), XN_SKEL_RIGHT_KNEE(
			"XN_SKEL_RIGHT_KNEE"), XN_SKEL_RIGHT_ANKLE("XN_SKEL_RIGHT_ANKLE"), XN_SKEL_RIGHT_FOOT(
			"XN_SKEL_RIGHT_FOOT");

	String name;

	Node(String node) {
		name = node;
	}

	/**
	 * Returns the name of the enum
	 * 
	 * @return
	 */
	public String getName() {
		return name;
	}
	
	public String toString(){
		return name;
	}

	public static String[] getNames() {
		int size = Node.values().length;
		String[] ret = new String[size];
		for(int i = 0 ; i < size ; i++){
			ret[i] = Node.values()[i].getName();
		}
		return ret;
	}
}
